import { Message, Modal } from "@uni/vue";
let _common = {}
_common  = {
    ModalConfirm: ModalConfirm
}
export default _common
export function ModalConfirm(context, callback) {
    Modal.confirm({
        title: "确认删除？",
        content: context,
        centered: true,
        maskClosable: true,
        onOk: () => {
          callback()
        },
        onCancel: () => {},
      });
}